<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title></title>
  <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
  <link rel="stylesheet" href="style.css">
  <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
  <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
  <script src="user.js"></script>
</head>
<body>
<div class="container form-user">
  <form method="post" name="myform" id="myform" class="form-horizontal" action="//localhost:8888/test.php">
    <div class="form-group">
      <label class="col-sm-2 control-label">用户名：</label>
      <div class="col-sm-10">
        <input type="text" id="username" name="username" maxlength="20" class="form-control"/>
        <span class="noteSpan"></span>
      </div>
    </div>
    <div class="form-group form-btn">
      <button type="submit" class="btn btn-primary">添加用户</button>
    </div>
  </form>
</div>

</body>
</html>